<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Relations\HasOne;

class UserTargetModel extends BaseModel
{
    protected $table = 'user_target';

    public function types(): HasOne
    {
        return $this->hasOne(TargetTypeModel::class, 'id', 'type');
    }
}
